package com.jdzu.model.entity.user;

import com.jdzu.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;


@Schema(description = "学生实体类")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Students extends BaseEntity {

    @Schema(description = "学号")
    private String studentNumber;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "性别, 0表示女, 1表示男")
    private Byte gender;

    @Schema(description = "所属班级ID")
    private Integer classId;

    @Schema(description = "所属学院ID")
    private Integer collegeId;

    @Schema(description = "课程")
    private String course;

    @Schema(description = "成绩")
    private BigDecimal score;

    @Schema(description = "个人头像URL")
    private String avatarUrl;

}
